/** 查询调度日志列表 */
export function listJobLogApi(query: JobLogRecord): Promise<ApiRowsRecord<JobLogRecord[]>> {
  return request({
    url: `/monitor/jobLog/list`,
    method: 'get',
    params: query
  });
}

/** 查询调度日志详细 */
export function getJobLogApi(id: number): Promise<ApiDataRecord<JobLogRecord>> {
  return request({
    url: `/monitor/jobLog/${id}`,
    method: 'get'
  });
}

/** 新增调度日志 */
export function addJobLogApi(data: JobLogRecord): Promise<ApiRecord> {
  return request({
    url: `/monitor/jobLog`,
    method: 'post',
    data: data
  });
}

/** 修改调度日志 */
export function updateJobLogApi(data: JobLogRecord): Promise<ApiRecord> {
  return request({
    url: `/monitor/jobLog`,
    method: 'put',
    data: data
  });
}

/** 删除调度日志 */
export function delJobLogApi(id: number[]): Promise<ApiRecord> {
  return request({
    url: `/monitor/jobLog/${id}`,
    method: 'delete'
  });
}